package com.ljf.eslab.lab.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ljf.common.utils.PageUtils;
import com.ljf.eslab.lab.dto.CourseAndTeacherDTO;
import com.ljf.eslab.lab.entity.StuCourseEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author ljf
 * @email ljf@gmail.com
 * @date 2021-07-08 11:23:39
 */
public interface StuCourseService extends IService<StuCourseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void insertByCids(Integer sid, List<Integer> asList);

    PageUtils queryPageBySid(IPage<CourseAndTeacherDTO> params, Integer sid);

    PageUtils queryCoursesPageBySid(IPage<CourseAndTeacherDTO> params, Integer sid);

    List<StuCourseEntity> selectByIds(List<Integer> ids);
}

